using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace muxLogCleaner
{
    public partial class frmPatternAdd : Form
    {
        public string NewPattern;

        public frmPatternAdd()
        {
            InitializeComponent();
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            if (txtbxPattern.Text != "")
            {
                NewPattern = txtbxPattern.Text;
            }
            else
            {
                MessageBox.Show("You must type a new wildcard pattern to add.", "Log Cleaner", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
    }
}